import {post} from '../../utils/request'
const postAdd=(params:any)=>{
    return post('api/visit/news/add',params)
}
// 添加封装
const postUp=(id:number,params:any)=>{
    return post('api/visit/news/edit',{id,formdata:params})
}

export {postAdd,postUp}